<?php



class ProductsNotificationsMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ProductsNotificationsMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('products_notifications');
		$tMap->setPhpName('ProductsNotifications');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('PRODUCTS_ID', 'ProductsId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addPrimaryKey('CUSTOMERS_ID', 'CustomersId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('DATE_ADDED', 'DateAdded', 'int', CreoleTypes::TIMESTAMP, true, null);

	} 
} 